{% extends "layouts/main.html" %}


{% block content %}
<div id="menu-index">

    <script type="text/html" id="toolBar">
        <a class="layui-btn layui-btn-normal layui-btn-sm" lay-event="create">
            <i class="layui-icon layui-icon-add-circle"> 创建管理员</i>
        </a>
    </script>

    <script type="text/html" id="tool">
        <a class="layui-btn layui-btn-success layui-btn-xs" lay-event="reset-password">重置密码</a>
        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete" data-url="/resource/admin/delete">删除</a>
    </script>

    <div id="adminForm" style="display: none;">
        {% include "admin/_form.html" %}
    </div>

    <table id="sys-menus-table" lay-filter="sys-menus-table-filter"></table>

</div>
{% endblock %}

{% block search %}
{% include "admin/_search.html" %}
{% endblock %}

{% block scripts %}
<script src="/templates/admin/index.js"></script>
{% endblock %}

{% block breadcrumb %}
<span class="layui-breadcrumb">
    <i class="layui-icon layui-icon-user"> </i>
    <a href="javascript:;"> 管理员 </a>
</span>
{% endblock %}
